package com.operation.dao;

import com.operation.beans.LevelDirectory;
import com.operation.entity.OneLevelDirectory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OneLevelDirectoryMapper {
    int deleteByOne(String one);

    int insert(OneLevelDirectory record);

    int insertSelective(OneLevelDirectory record);

    OneLevelDirectory selectByPrimaryKey(Integer id);

    int updateByOneSelective(@Param("one") String one,@Param("updateOne") String updateOne);

    int updateByPrimaryKey(OneLevelDirectory record);

    List<OneLevelDirectory> selectAllOneLevel();

    OneLevelDirectory selectOType(String one);

    OneLevelDirectory oneIsExit(String one);

    OneLevelDirectory selectOne(int oType);
}